﻿<cx:BaseFadeDialog x:Class="SSDM.CommonUI.ShowSyncResult"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:cx="clr-namespace:SSDM.BaseUI"
                                    xmlns:Localizer="clr-namespace:SSDM.Bases"
    Title="{Localizer:Translate LabelDataExchangeWizard}"  Height="289" Width="556" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit">
    <Grid>
        <DataGrid Name="dataGrid1" 
                     IsReadOnly="True" 
                     ItemsSource="{Binding}"
                        AutoGenerateColumns="False"
                     MinWidth="200">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Table Name" Binding="{Binding Path=TableName}" />
                <DataGridTemplateColumn Header="Is Successful">
                    <DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <CheckBox IsChecked="{Binding Path=ProcessStatus}" Margin="10 5 10 1" Width="64"/>
                        </DataTemplate>
                    </DataGridTemplateColumn.CellTemplate>
                </DataGridTemplateColumn>
                <DataGridTextColumn Header="Error Message" Binding="{Binding Path=LastErrorMsg}" />
            </DataGrid.Columns>
            
        </DataGrid>
    </Grid>
</cx:BaseFadeDialog>
